import { axios } from '@/utils/request'

/**
 * 查询分页列表
 *
 * @author yubaoshan
 * @date 2020/5/25 01:31
 */
export function mRegisterList (parameter) {
  return axios({
    url: 'MRegister/Page/',
    method: 'get',
    params: parameter
  })
}

/**
 * 详情
 */
export function getMRegisterDetail (id) {
    return axios({
      url: `/MRegister/get?id=${id}`,
      method: 'get'
    })
  }

  /**
 * 删除
 */
export function mRegisterDelete (parameter) {
  return axios({
    url: '/MRegister/Delete',
    method: 'post',
    data: parameter
  })
}
